Running and Debugging a Pro*C Program on Windows

I have inherited a Pro*C codebase. The programs mostly function as reports, so I am working on migrating the queries to a modern reporting tool. However, I would like to explore the existing Pro*C files/programs. To do so, I would like to be able to run and perhaps even debug the programs, not just read the source code.

Researching the options, a lot of resources are quite old/outdated or unfamiliar to me. I am new to Oracle in general (I’ve only ever programmed before on the Microsoft technology stack). Also, I’ve never done much of anything in C, either (other than tutorials).

My OS is Windows 11. I have VS 22 installed, along with the C/C++ desktop workload. I do NOT have an Oracle database instance installed on my machine, but I have the info to connect to one remotely. I have installed some Oracle client software (e.g. drivers) to connect to the Oracle database through SSRS, for instance.

My question is, is it possible to set up my environment to pre-compile Pro*C to C, and ultimately successfully run (and perhaps debug) a Pro*C source file?

(I’ll note that I have already explored the option of just running/debugging these Pro*C programs on the Linux machine where the Oracle database is installed… but I specifically want to be able to run these on my own machine (a development environment). I don’t want to have to go to the Prod machine to run through these programs, if I can avoid it.)

Here are the resources I’ve consulted and comments on these resources:

  • Precompiler Concepts – Compile and Link – contains no links or further directions for a Windows system

  • Tutorial-01Connecting to Oracle Database in C(PRO*C) – I do not have the “Resource” files indicated around 1:30

  • Oracle Instant Client and Oracle Instant Client Precompiler Downloads – as mentioned above, I previously installed ODAC with Oracle Developer Tools for Visual Studio – OUI (18.3) for making “Oracle for OLE DB” connections through SSRS (this is a 32-bit driver). But the immensity of the options on this download site are confusing. I honestly don’t even know why the one I picked for SSRS ended up working. I mentioned my system details. I can say that the database I want to connect to is Oracle 12c.

  • The Precompiler Command and Pro*C/C++ Precompiler Issues for Windows Platforms – this seemingly newer documentation is a bit more helpful than the other (older) documentation I looked at, but it doesn’t give much detail on which client download / driver to install to even make the precompiler available.

  • How can I call a PRO*C program directly from PL/SQL? – this related to running a Pro*C program from a PL/SQL program. I want to run/debug a Pro*C program independently.

  • Unable to compile Pro*c code in linux – relevant to Linux, not Windows.

I am going to try out various options in an isolated environment (to keep my base machine clean) but I would appreciate any guidance or direction on how to proceed.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật