Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: jwspring

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    737

    Convert VB function to C++ / C code

    Hello,
    I want to convert the following VB function to c/c++ function. I don't know how to deal with VB's Variant variable in C/C++. For some reason, I need function to return a char*. I tried to use...
  2. how to create property which I can pass parameters?

    Hello,
    Is it possible to create property which I can pass parameters? would you please give me an example or solution? here is what I would like to do:

    __property double a = {read=getA("a"),...
  3. create my own property which passes parameters

    Hello,
    Is it possible to create property which I can pass parameters? would you please give me an example or solution? here is what I would like to do:

    __property double a = {read=getA("a"),...
  4. Re: VB application launches AutoCAD configuration

    Actually, I installed another simple VB app with has different .exe name and path, but it does the same.
  5. VB application launches AutoCAD configuration

    Hello,
    I created a VB6 application which worked fine for years. Recently, I installed it on a Windows 7
    machine which has AutoCAD installed. Whenever I run my VB app, it tries to configure...
  6. Replies
    6
    Views
    1,133

    Re: The Icon Groups section on Setup.Lst

    They have sub folder with same folder name but include different files. So I can not install exes
    in a sub folder of the installation path?
  7. Replies
    6
    Views
    1,133

    Re: The Icon Groups section on Setup.Lst

    yes, you are right. I need to install more than one exe
  8. Replies
    6
    Views
    1,133

    The Icon Groups section on Setup.Lst

    Hi,
    How to modify Icon Groups section on Setup.Lst if my target file is not in $(AppPath)?
    Here was what I did and it didn't work

    [$(Programs)]
    Icon1="myApp1.exe"
    Title1=MyApp1...
  9. Replies
    12
    Views
    3,397

    Re: dynamically create two dimensional array

    dglienna,
    actuall, I would like to do this:

    Public Type ALLREC
    row As Integer
    col As Integer
    table( , ) As String
    .....
    End Type
  10. Replies
    12
    Views
    3,397

    dynamically create two dimensional array

    Hi
    How to create a two dimensional array dynamically?
    Thanks.
  11. Replies
    6
    Views
    669

    Re: delete element from vector

    Thanks to all of you!!!
  12. Replies
    6
    Views
    669

    delete element from vector

    Hi,
    I have problem to delete element form my vector "prjs". The element includes visual control TEdit which stays on interface after I delete it. I found the reason was that the erase() didn't call...
  13. Replies
    5
    Views
    933

    Re: vector of char

    Thank you!
  14. Replies
    5
    Views
    933

    Re: vector of char

    int slen=strlen(backupsource);


    strlen() expects a NULL terminated string. Your string is not NULL terminated.[/QUOTE]

    Philip Nicoletti:
    Do you know if there is anyway that I can get the...
  15. Replies
    5
    Views
    933

    vector of char

    Hi,
    I have a function as below. It hits memory problem some time. I copied this code from somewhere and don't really understand how to use char vector.
    Do you see anything wrong with it? Thanks...
  16. Replies
    2
    Views
    838

    Check folder exists or not?

    Hi,
    Does any one know how to check a folder existing? I tried GetFileAttributes, but didn't work.
    If this is an easy way, would you please give me an example code? Thank in advance.
  17. Replies
    2
    Views
    2,729

    View Post

    DATATABLE * myObj;

    void __fastcall TfmMain::btnExportClick(TObject *Sender)
    {
    myObj->Export(NULL);
    }

    void DATATABLE::Export(void* pParam) {
    Variant my_excel ;
    ...
  18. Replies
    2
    Views
    381

    how to release memory

    Hi,
    Would you please tell me how to realease memory if I created an arrary of TCheckBox in this way:

    typedef std::vector<TCheckBox*> CheckBoxVector;

    CheckBoxVector ChkTypeVec, ChkBlockVec;...
  19. Replies
    6
    Views
    712

    Re: How to close a dead console app window?

    :-) Well, First of all, the console program is not mine. There are other reasons also. I'll try
    OpenProcess and TerminateProcess .
    Thanks
  20. Replies
    6
    Views
    712

    How to close a dead console app window?

    My window program launches a console application. This console application dies some time because it hits unexpected error. So a "Application Error" window will come out also.
    How can i use API...
  21. Re: call virtual function inside static member function

    Thank you both Viggy and andersod2!!! You solved my problem.
  22. call virtual function inside static member function

    Hi
    I'm new to use thread. i try to call virtual function inside static member function. I got error:
    [C++ Error} E2283 User . or -> to call 'BATCHSOLVER::UserThreadFunc(void*)'
    I don't know what's...
  23. Replies
    1
    Views
    1,281

    FindWindow in Borland C++

    I tried to use API function
    static IntPtr FindWindow(String^ lpClassName, String^ lpWindowName)
    to get window's handle. however, i got error
    "E2034 Cannot convert 'long' to 'void*'"
    i have no...
  24. Replies
    2
    Views
    2,697

    Read eRoom files

    Hi, I have no knowledge of eroom. I need to read files which are saveed on eRoom.
    How can I open and read these files if i know the hyperlinks? would you please give me
    an example code? thanks...
  25. Re: How to make registry key accessible to all users?

    Thanks, lok.vikram,
    The error code is 5. KEY_READ worked for some computers but not all the cases. Any other suggestion?
Results 1 to 25 of 40
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center