| |
|
|
E.T. | Hi,
first thing beforehand: I have NULL Idea of C++ !!
with my present (first) try with Profan2Cpp (Trial 1.6c and Borland-Compiler 5.5) be I same stick stayed. here The Prog-expenses: Profan2Cpp - Trial 1.6c proposition loading ---> input: CATENProfan 10PrintMakerVirtPage2.prf spending: CATENProfan 10PrintMakerVirtPage2_cpp
bind Include-Files one... ok. read Header-Files... ok. Überprüfe Syntax... ok. supplant Header-Definitionen... ok. Erstelle directories... ok. Übersetze... ok. Erstelle PrfMain.cpp... ok. copy Header... ok. copy Bibliotheken... ok. Generiere Makefile... ok.
proposition successful Translated! [334 Lines in 381 ms] MAKE Version 5.2 copyright (c) 1987, 2000 Borland
C:BorlandBCC55incc32.exe -o.objPrfMain.obj -c -w-8026 -w-8057 -w-8060 -w-8017 -w-8004 -w-8066 -w-8041 -q -O2 -tWM -v- -D_WINVER=0x0400 -D_WIN32_WINNT=0x0400 -IC:BorlandBCC55include PrfMain.cpp PrfMain.cpp: C:BorlandBCC55incc32.exe -o.objVirtPage2.obj -c -w-8026 -w-8057 -w-8060 -w-8017 -w-8004 -w-8066 -w-8041 -q -O2 -tWM -v- -D_WINVER=0x0400 -D_WIN32_WINNT=0x0400 -IC:BorlandBCC55include VirtPage2.cpp VirtPage2.cpp: Error E2268 VirtPage2.cpp 125: Call to undefined function schnappi_5 in function __stdcall ProfanThreadProc(void *) Error E2268 VirtPage2.cpp 129: Call to undefined function schnappi_10 in function __stdcall ProfanThreadProc(void *) *** 2 errors in Compile *** ** error 1 ** deleting .objVirtPage2.obj Finished. If I the right erkenne, becomes to the function schnappi_5 or. schnappi_10 sought. this are by me in Profan 2 Procs (which there too functions). Lt. Help should this indeed as Proc laid out and be not (More) as function.
Habs with the Original-.prf and the spending of XPSE (which too nothing To beanstanden has) probiert, always the same Result.
otherwise could I for Profan2Cpp (and sometime time ne Full Version) already inspire, if The erstellten programs then really faster are (but the watts watts here already tested)...
Mario |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 04/09/08 ▲ |
|
|
|
|
Michael Wodrich | have You evtl. The Procedures nested?
otherwise helps there the Post one Minimalbeispiels, where the Error too vorkommt. mostly discover one then at Abspecken on absolutes minimum mostly self whom Error.
Best wishes Michael Wodrich |
|
|
| Programmieren, das spannendste Detektivspiel der Welt. | 04/10/08 ▲ |
|
|
|
|
E.T. | would have been now circa these Time not of/ one so speedy response calculated.
Michael Wodrich: have You evtl. The Procedures nested?
think I do not, see example, with the it too appears : CompileMarkSeparationDeclare Pos5&, Pos10&, Ende%
Proc Schnappi_5
Parameters X%
If (@Val(@Right$(@Str$(X%),1)) >=0) AND (@Val(@Right$(@Str$(X%),1)) <3)
WhileNot (@Val(@Right$(@Str$(X%),1)) = 0) OR (@Val(@Right$(@Str$(X%),1)) = 5)
dec X%
EndWhile
ElseIf (@Val(@Right$(@Str$(X%),1)) >=5) AND (@Val(@Right$(@Str$(X%),1)) <8)
WhileNot (@Val(@Right$(@Str$(X%),1)) = 0) OR (@Val(@Right$(@Str$(X%),1)) = 5)
dec X%
EndWhile
Else
WhileNot (@Val(@Right$(@Str$(X%),1)) = 5) OR (@Val(@Right$(@Str$(X%),1)) = 0)
inc X%
EndWhile
EndIF
Return @Str$(X%)
EndProc
Proc Schnappi_10
Parameters X%
Return @Str$(@Round(X%,-1))
EndProc
Set(Decimals,0)
WindowStyle 512+16
WindowTitle Test-Seite
Window 50,50-400,400
CreateMenu
AppendMenuBar 1000,<<< FERTIG - TEST BEENDEN >>>
@Create(Text,%HWnd,Mauskoordinaten im...,50,20,150,20)
@Create(Text,%HWnd,...5er Raster :,20,50,100,20)
@Create(Text,%HWnd,...10er Raster :,20,80,100,20)
Pos5& = @Create(Text,%HWnd,---,---,120,50,55,20)
Pos10& = @Create(Text,%HWnd,---,---,120,80,55,20)
Clear Ende%
WhileNot Ende%
GetMessage
SetText Pos5&, Schnappi_5 (%MouseX) + , + Schnappi_5 (%MouseY)
SetText Pos10&, Schnappi_10 (%MouseX) + , + Schnappi_10 (%MouseY)
If @MenuItem(1000)
Ende% = 1
EndIf
EndWhileclass=s4 href='./../../Function-References/XProfan/end/'>end
in the attachment Have I time the whole Gewusel, which Profan2Cpp on of my disk leave behind has (not angry meant), in a .rarely gepackt, incl. this Source here.
Vieleicht hilfts Yes with the Fehlersuche.
Mario |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 04/10/08 ▲ |
|
|
|
|
| behind Funktionsaufrufe one Freizeichen to the Folgeklammer? |
|
|
| |
|
|
|
E.T. |
iF: behind Funktionsaufrufe one Freizeichen to the Folgeklammer?
THANK YOU !! goes still !! so simply are hold small Freuden !!!
now Have so did i whom ShareWare-Info, which of Profan2Cpp eingebunden becomes, seen.
shining but what To his, what XProfan, XPSE and Profan2Cpp not anmeckern.
Mario |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 04/10/08 ▲ |
|
|
|
|
E.T. | ... and the begot .exe-dingens is indeed yet only 42% so big as Profan-Exe !!
class Program !! mandatory I still glattweg even time with couple others things try !! But if I the whole Kauderwelsch in the C++ - Ordner see, stay I still rather with XProfan. because for what would otherwise Profan2Cpp made, unless for such Unwissenden How me !!
Mario |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 04/10/08 ▲ |
|
|
|
|
Sebastian König | Hi,
beautiful, if a problem already resolved is, before I the Thread at all red having!
Aufrufe of Procedures as functions with space to the öffnenden Klammer make Profan2Cpp 1.6 in the doing unfortunately yet Problems... In Profan2Cpp 2.0, the in Kürze (naja, time look, when very) then parallel with XProfan 11 appear, becomes the trouble but fixed his. If interest exists, would I in momentum means guess, on the new Version To Waiting.
MfG
Sebastian
P.s.: Dass The with C++ begot Exe small is as The of XProfan counts unfortunately only for relatively small programs, there itself in this drop auszahlt, that from whom Bibliotheken only dazugelinkt becomes, what too really needed becomes during XProfan naturally always The complete Runtime dazulinkt. its though so, that the native Maschinencode explicit larger is as XProfan-P-code (The .prc-Files), so with umfangreichen Programs The C++-Variante then larger is... |
|
|
| Windows XP, XProfan/Profan² 4.5 bis 11 Profan2Cpp-Homepage: [...] Alte Profan²-Seite: [...] | 04/10/08 ▲ |
|
|
|
|
Michael Wodrich | |
|
| Programmieren, das spannendste Detektivspiel der Welt. | 04/12/08 ▲ |
|
|
|
|
Jac de Lad | |
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 04/12/08 ▲ |
|
|
|
|
E.T. | @Jac: is correct already, but with the GANZEN ZEILE comes another circumstance out. isn't to the swell manner written, but I faith, there has so eachone its Marotten...
@Michael: thanks, so GEHTS too. be in the momentum glad, the it so works, what's it like. but I werds me remember.
Mario |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 04/12/08 ▲ |
|
|
|
|
Jac de Lad | but because it a and-circumstance is, can you whom part omit.
Yes, I Have too so my Marotten, The I rather nirgendwo preisgebe. |
|
|
| Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE) Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP | 04/12/08 ▲ |
|
|
|
|
E.T. | Achso, now wisely I, what you mean. Well, The Marotten.... has but Maybe whom benefit, that I in a year in my View source yet discern can, How I (Maybe too sometimes wrong) virtual have.
and the couple byte More on code should still the hern not big make. and m.E. ists Yes not wrong, separate only verdrückt ausgekehrt or twice gemoppelt. and who wisely, sometime could The Mouse-Coordinates (How in this example) indeed time negative his...
Mario |
|
|
| Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 04/13/08 ▲ |
|
|
|