English
C ++ Forum

Übersetzungsfehler of prf To cpp

 

Clemens
Meier
I wanted to my first DLL the Full Version produce and got (logischerweise ) following Error Message:
CompileMarkSeparation
suitable Lines in the CPP:
CompileMarkSeparation
nB1 = 0L, nB2 = 0L, nB3 = 0L;
nA1 = 0L, nA2 = 0L, nA3 = 0L, nA4 = 0L;
nRest = 0L;
long lZeiger = 0L, lLaenge = 0L;
lNeuelaenge = 0L;
sStringbase64 = _S("");
int nHelp1 = 0L, nHelp2 = 0L;
sChars64 = _S("");

evident becomes bemängelt, that these variables not declared get. In Profan any declared and the Test with the inspector yielded no Error. I use p2cpp 1.5a

Greeting
 
XProfan 9.1; XP SP2; FF; Editpad
05/12/06  
 




Clemens
Meier
what me straight auffällt is: there's two Procedures, in both go variables declared, The partly The equal terms having. The first procedure becomes correctly Translated, first in the second procedure go The Error made. Ggf. takes p2cpp on, it lever itself around the equal Variables and declared tappt im dunkeln not any more new, or. setting no Variablentyp forth.
 
XProfan 9.1; XP SP2; FF; Editpad
05/12/06  
 




Sebastian
König
Hi,

hmm... time bad, what there schiefläuft. usually ought to it no trouble his, if variables with equal names in different Procedures using (is Yes really completely normal and comes sure often to...)

can You a short Testcode post, with the itself the trouble understand can?

thanks,

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
05/12/06  
 



Sorry, it shows that here now as Guest on, I me in a second Browser-Window inadvertently to the send ausgeloggt having -- Sebastian

I faith, I have a possible cause for the trouble straight found:

contains your code nested Procedures? means such a thing How
CompileMarkSeparation
usually recognize Profan2Cpp this and suggest, for Translation the Codes The option any variables global deklarieren To enable.

straight fell me however on, that The Verschachtelung in manchen situations evident not recognized becomes - when very and Why the lying, I have not yet figured out, unfortunately

functions it because correctly, if you into Übersetzungsoptionen any variables global deklarieren manually activate?
 
05/12/06  
 




Clemens
Meier
No, there's no verschachtelten Procedures. whether it with global deklarierten variables goes, can I not say. But well neither relevant. The Procedures walk under XProfan without trouble, go through whom + Edit without Error Message and with the Translation To CPP go no Error gemeldet. first with the Compilierung there The Problems. the CPP to that walk To bring would not difficult, one can The fehlende Deklaration Yes nachholen, still so is the Completed: p2cpp not yet resolved.

one behebt none bow, because one it bypassing

P.s.: have you whom kompletten prf-code by E-Mail skillful.
 
XProfan 9.1; XP SP2; FF; Editpad
05/12/06  
 




Sebastian
König
Hello Clemens,

thanks for code! I could so The cause glücklicherweise quick find it lying in a stupid Error discern of local variables - in the next Version becomes the trouble fixed his.

BTW: with the enable of any variables global deklarieren functions it too correctly.
[quote:d147f65a14]one behebt none bow, because one it bypassing [/quote:d147f65a14]
there voice I you selbstverstänglich fundamentally To! If you the any global...-Workaround not sufficient, login you please again by Email by me

MfG

Sebastian
 
Windows XP, XProfan/Profan² 4.5 bis 11
Profan2Cpp-Homepage:  [...] 
Alte Profan²-Seite:  [...] 
05/12/06  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.272 Views

Untitledvor 0 min.
H.Hackl03/05/12

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie